package com.dxj.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dxj.response.RoleInfoVo;
import com.dxj.response.UserInfoVo;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

/**
 * @author dxj
 * @Description 权限实体
 * @date 2024/7/28 13:38
 */
@Data
@TableName(value = "sys_role")
@AutoMapper(target = RoleInfoVo.class)
public class Role extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 角色名称
     */
    private String roleName;
    /**
     * 角色描述
     */
    private String description;

    /**
     * 删除标志
     */
    @TableLogic
    private Integer delFlag;
}
